package by.semerikov.dao;

public class Proposal {
	private Integer id;
	private String name;
	private String description;
	private String from;
	private String to;
	private String cost;
	private String state;
	private Person driver;

	public Proposal(Integer id, String name, String description, String from,
			String to, String cost, String state, Person driver) {
		super();
		this.id = id;
		this.name = name;
		this.description = description;
		this.from = from;
		this.to = to;
		this.cost = cost;
		this.state = state;
		this.driver = driver;
	}


	public Proposal() {

	}

	public Integer getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public String getCost() {
		return cost;
	}

	public void setCost(String cost) {
		this.cost = cost;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Person getDriver() {
		return driver;
	}

	public void setDriver(Person driver) {
		this.driver = driver;
	}

}
